package com.erytech.linktalk.web.client.framework;

import com.google.gwt.user.client.ui.Composite;

public abstract class DataView extends Composite implements DataUpdateListener {

	DataSource dataSouce;

	public DataView(DataSource ds) {
		dataSouce = ds;
		ds.addDataUpdateListener(this);
	}
	
	protected DataSource getDataSource() {
		return dataSouce;
	}

}
